import numpy as np

prd = np.array([10, 10])
e = np.array([])
print np.unravel_index(e, prd)